home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / etc / apparmor.d / abstractions / svn-repositories < prev    next >
Encoding:
Text File  |  2009-04-08  |  1.7 KB  |  54 lines

  1. # $Id: svn-repositories 559 2007-04-10 23:05:33Z agruen $
  2. # ------------------------------------------------------------------
  3. #
  4. #    Copyright (C) 2002-2006 Novell/SUSE
  5. #
  6. #    This program is free software; you can redistribute it and/or
  7. #    modify it under the terms of version 2 of the GNU General Public
  8. #    License published by the Free Software Foundation.
  9. #
  10. # ------------------------------------------------------------------
  11.  
  12.   # This little snippet should abstract the read/write access to a repository.
  13.   # it is intended to be included in profiles for svnserve/apache2 and maybe
  14.   # some repository viewers like trac/viewvc
  15.  
  16.   # no hooks exec by default; please define whatever you need explicitely.
  17.  
  18.   /srv/svn/**/conf/* r,
  19.   /srv/svn/**/format r,
  20.   /srv/svn/**/db/fs-type r,
  21.   /srv/svn/**/db/format r,
  22.  
  23.   # FSFS
  24.   /srv/svn/**/db/ r,
  25.   /srv/svn/**/db/uuid r,
  26.   /srv/svn/**/db/write-lock rwl,
  27.   /srv/svn/**/db/current rwl,
  28.   /srv/svn/**/db/current*.tmp rwl,
  29.   /srv/svn/**/db/revs/ r,
  30.   /srv/svn/**/db/revs/* rw,
  31.   /srv/svn/**/db/revprops/ r,
  32.   /srv/svn/**/db/revprops/* rw,
  33.   /srv/svn/**/db/transactions/** rw,
  34.  
  35.   # BDB
  36.   /srv/svn/**/db/DB_CONFIG       r,
  37.   /srv/svn/**/db/__db.[0-9]*     rwl,
  38.   /srv/svn/**/db/log.[0-9]*      rwl,
  39.   /srv/svn/**/db/nodes           rwl,
  40.   /srv/svn/**/db/revisions       rwl,
  41.   /srv/svn/**/db/transactions    rwl,
  42.   /srv/svn/**/db/copies          rwl,
  43.   /srv/svn/**/db/changes         rwl,
  44.   /srv/svn/**/db/representations rwl,
  45.   /srv/svn/**/db/strings         rwl,
  46.   /srv/svn/**/db/uuids           rwl,
  47.   /srv/svn/**/db/locks           rwl,
  48.   /srv/svn/**/db/lock-tokens     rwl,
  49.  
  50.   # temp files
  51.   /tmp/apr* rwl,
  52.   /var/tmp/apr* rwl,
  53.   /tmp/report*.tmp rwl,
  54.